<div style="width: 100%">
    <el-row style="margin: 10px;">
        <el-col :span="24">
            <el-card>
                <el-form :model="ruleForm" ref="ruleForm"  class="demo-ruleForm"
                         @submit.native.prevent>
                    <el-row>
                        <el-col :span="8">
                            <el-form-item label="Excel上传:">
                                <el-upload
                                        class="upload-demo"
                                        ref="upload"
                                        action = ""
                                        :http-request="httpRequest"
                                        :before-upload="beforeUpload"
                                        :on-exceed="handleExceed"
                                        :on-remove="handleRemove"
                                        drag
                                        :limit="1">
                                    <i class="el-icon-upload"></i>
                                    <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
                                </el-upload>
                            </el-form-item>
                        </el-col>
                        <el-col :span="15">
                            <el-form-item label="Excel数据操作" class="my-code-edit" v-model="ruleForm.jsCode">
                                <el-input id="jsCode" type="textarea"  rows="6" name="jsCode"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-form-item>
                        <el-button type="primary" @click="submitImportForm">运行</el-button>
                        <el-button>重置</el-button>
                    </el-form-item>
                </el-form>
            </el-card>
        </el-col>
    </el-row>
    <el-row style="margin: 10px;">
        <el-col :span="24">
            <el-card>
                控制台输出
                <el-button size="mini" type="primary" style="margin: 5px 0px;" class="btn" data-clipboard-target="#ret">
                    复制
                </el-button>
                <el-input type="textarea" id="ret" readonly rows="30" v-model="resp"></el-input>
            </el-card>
        </el-col>
    </el-row>
</div>